package com.secondhand.project.domain;

import com.secondhand.common.annotation.Excel;
import com.secondhand.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    private Long id;
    @Excel(name = "商品名称")
    private String name;
    @Excel(name = "商品图片")
    private String img;
    @Excel(name = "订单编号")
    private String orderNo;
    @Excel(name = "总价")
    private BigDecimal total;
    @Excel(name = "下单时间")
    private String time;
    @Excel(name = "支付单号")
    private String payNo;
    @Excel(name = "支付时间")
    private String payTime;
    @Excel(name = "下单人ID")
    private Long userId;
    @Excel(name = "订单状态")
    private String status;
    @Excel(name = "卖家ID")
    private Long saleId;
}
